﻿using Orchard.Data.Migration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Autohome.Login
{
    public class Migrations : DataMigrationImpl
    {

        public int Create()
        {

            SchemaBuilder.CreateTable("LoginInfo",
                table => table
                    .Column<int>("ID", column => column.PrimaryKey().Identity())
                    .Column<string>("UserName", column => column.WithLength(20))
                    .Column<string>("Password", column => column.WithLength(20))
                );

            return 1;
        }
    }
}